import request from '@/utils/request.js'

export const login = (data) => {
	return request.post('/auth/login', data)
}
// loginApi
export const getUserApi = () => {
	return request.get('/auth/currentUser')
}